﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="ProductManagement._Default" %>

<%@ Register Src="Controls/ProductDetail.ascx" TagName="ProductDetail" TagPrefix="uc1" %>
<%@ Register Src="Controls/ProductList.ascx" TagName="ProductList" TagPrefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="header" runat="Server">
    Danh sách hàng hóa
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" runat="Server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <contenttemplate>
    <div style="width: 800px; height: 600px;">
        <div id="left" style="width: 50%">
            <uc2:ProductList ID="ucProductList" runat="server" OnSelectedProductChanged="ProductList_SelectedProductChanged" />
        </div>
        <div id="right" style="width: 50%">
            <uc1:ProductDetail ID="ucProductDetail" runat="server" />
           <asp:HiddenField ID="hidSelectProduct" runat="server" /> 
           
        </div>
    </div>
   </contenttemplate>
    </asp:UpdatePanel>
</asp:Content>
